ConstrainMode

enum ConstrainMode

Describes whether to constrain the map in both axes or only vertically e.g. while panning.

Entries

NONE
Link copied to clipboard
No constrains.
HEIGHT_ONLY
Link copied to clipboard
Constrain to height only
WIDTH_AND_HEIGHT
Link copied to clipboard
Constrain both width and height axes.

Functions

valueOf
Link copied to clipboard
open fun valueOf(name: String): ConstrainMode
values
Link copied to clipboard
open fun values(): Array<ConstrainMode>